package chapter2;

public class Example32 {
    public static void main(String[] args) {
        for (int i = 1; i <= 7; i++) {
            for (int j = 7; j >= i/2 ; j--) {
                System.out.print(" ");
            }
            for (int j = 1; j <= 2*i-1; j=j+2) {
                System.out.print("*");
            }
            System.out.println("\n");
        }
    }
}
